// 将自定义组件注册到全局
import iconLab from './iconLab/index.vue'
import uploadImg from './uploadImg/index.vue'
import imgCutter from './imgCutter/index.vue'
import tinymceEditor from './tinymceEditor/index.vue'
import pageMod from './pageMod/index.vue'
import regionSelect from './regionSelect/index.vue'
import electronSign from './electronSign/index.vue'

const components = [
  iconLab,
  uploadImg,
  imgCutter,
  tinymceEditor,
  pageMod,
  regionSelect,
  electronSign
]

export default {
  install(app) {
    components.map(item => {
      app.use(item)
    })
  }
}